package demo2;

import demo1.Animal;

public class Bree extends Animal {

    public Bree(String name, int age, String className) {
        super(name, age, className);
    }

    public void print(){
        System.out.println(this.name + " 在咕咕叫....");
        System.out.println(this.age );
        System.out.println(this.className);
    }


}

